An efficient geometric approach to quantum-inspired classifications

Optimal measurements for the discrimination of quantum states are useful tools for classification problems. In order to exploit the potential of quantum computers, feature vectors have to be encoded into quantum states represented by density operators. However, quantum-inspired classifiers based on nearest mean and on Helstrom state discrimination are implemented on classical computers. We show a geometric approach that improves the efficiency of quantum-inspired classification in terms of space and time acting on quantum encoding and allows one to compare classifiers correctly in the presence of multiple preparations of the same quantum state as input. We also introduce the nearest mean classification based on Bures distance, Hellinger distance and Jensen–Shannon distance comparing the performance with respect to well-known classifiers applied to benchmark datasets.

The mathematical formulation of quantum mechanics can be used to devise machine learning algorithms that do not require any quantum hardware in the sense that the quantum formalism is applied to define data representations that are managed by classical computers. The so-called quantum-inspired machine learning is based on particular kinds of information storing and processing defined by means of the mathematical objects from the quantum theory that do not necessarily relates to physical quantum systems. This work is devoted to study some quantum-inspired classification algorithms from a geometric perspective and their comparison with wellknown classical classifiers.
An interesting quantum-inspired binary classification algorithm has been introduced in terms of a nearest mean classifier based on the trace distance between density operators encoding feature vectors 1 . Another proposed quantum-inspired classifier is based on the Helstrom quantum state discrimination 2 used for binary classification 3 . Both algorithms are structured on an encoding of the feature vectors into density operators and on techniques for estimating the distinguishability of quantum states like a distance in the space of the quantum states and the Helstrom measurement. Classification accuracy of these quantum-inspired classifiers can be improved by increasing, in terms of tensor products, the number of copies of the quantum states that encode the feature vectors, at the cost of dramatically increasing the computational space and time. However, in the present work, we argue that the geometric approach for representing data into quantum states provides a description of the quantum encoding that allows to implement feature maps saving space and time resources.
In this paper, we introduce the quantum encoding in terms of Bloch vectors applied to the execution of some quantum-inspired classifiers. In particular we run the Helstrom classifier representing data with different quantum encodings (i.e. different feature maps), then we define quantum-inspired nearest mean classifiers using Bures, Hellinger and Jensen-Shannon distances. In the experimental part, we present a comparison of the performances of the quantum-inspired classifiers against well-known classical algorithms.
The work is structured as follows: In "Quantum encoding" section , we introduce the representation of density operators in terms of Bloch vectors in arbitrary dimension and the basics of quantum encoding. "Quantuminspired classifiers" section is a short description of the considered quantum-inspired algorithms that are the Helstrom classifier and the nearest mean classifiers based on several operator distances. In "Geometric approach to quantum-inspired classifications" section, we discuss how the encoding of feature vectors into Bloch vectors is useful to obtain a data representation that scales efficiently increasing the dimension of the feature space. In this section we define the classifiers based on Bures, Hellinger and Jensen-Shannon distances. In "Method and experimental results" section, there are the experimental results obtained running the quantum-inspired classifiers and the comparison with classical algorithms over some benchmark dataset. In "Conclusions" section, we draw the conclusion remarking the impact of adopting the geometric viewpoint in devising novel classification algorithms based on quantum structures. www.nature.com/scientificreports/ (3) application of the Helstrom discrimination on the two quantum centroids in order to assign a label to a new data instance. Let us briefly introduce the notion of quantum state discrimination. Given a set of arbitrary quantum states with respective a priori probabilities R = {( 1 , p 1 ), … , ( N , p N )} , in general there is no a measurement process that discriminates the states without errors. More formally, there does not exist a POVM, i.e. a collection E = {E i } i=1,…,N ⊂ B + ( ) such that ∑ N i=1 E i = , satisfying the following property: tr(E i j ) = 0 when i ≠ j for all i, j = 1, … , N . The probability of a successful state discrimination of the states in R performing the measurement E is: An interesting and useful task is finding the optimal measurement that maximizes the probability (5). Helstrom provided a complete characterization of the optimal measurement E opt for R = {( 1 , p 1 ), ( 2 , p 2 )} 2 . E opt can be constructed as follows. Let Λ ∶ = p 1 1 − p 2 2 be the Helstrom observable whose positive and negative eigenvalues are, respectively, collected in the sets D + and D − . Consider the two orthogonal projectors: where P projects onto the eigenspace of . The measurement E opt ∶ = {P + , P − } maximizes the probability (5) that attains the Helstrom bound h b ( 1 , 2 ) = p 1 tr(P + 1 ) + p 2 tr(P − 2 ).
Helstrom quantum state discrimination can be used to implement a binary classifier 6 . Let {( 1 , y 1 ), … , ( M , y M )} be a training set with y i ∈ {1, 2} ∀i = 1, … , M . Once a quantum encoding ℂ n ∋ ↦ ∈ ( ) has been selected, one can construct the quantum centroids 1 and 2 as in (23) of the two classes C 1,2 = { i ∶ y i = 1, 2} . Let {P + , P − } be the Helstrom measurement defined by the set R = {( 1 , p 1 ), ( 2 , p 2 )} , where the probabilities attached to the centroids are p 1,2 = |C 1,2 | |C 1 |+|C 2 | . The Helstrom classifier applies the optimal measurement for the discrimination of the two quantum centroids to assign the label y to a new data instance , encoded into the state , as follows: A strategy to increase the accuracy in classification is given by the construction of the tensor product of k copies of the quantum centroids ⊗k 1,2 enlarging the Hilbert space where data are encoded. The corresponding Helstrom measurement is {P ⊗k + , P ⊗k − } , and the Helstrom bound satisfies 6 : Enlarging the Hilbert space of the quantum encoding, one increases the Helstrom bound obtaining a more accurate classifier. Since the Helstrom classifier is similar to a support vector machine with linear kernel 7 , considering many copies of the encoding quantum states give rise to a kernel trick. The corresponding computational cost is evident; however, in the following, we observe that in the case of real input vectors, the space can be enlarged saving time and space by means of the encoding into Bloch vectors. Generally speaking, quantum state discrimination approaches consider global measurements or local measurements with classical feed-forward 8 . Unambiguous state discrimination requires more measurement outcomes than the dimension of the Hilbert space, the measurement takes the form of a POVM and identifies the state with certainty or gives an inconclusive outcome. States must have non-overlapping supports (i.e. the space spanned by the eigenvectors with non-zero eigenvalues for each state must not overlap with that of any other state in the ensemble). Maximum confidence sometimes yields incorrect answers 9 . Contrary, the minimum-error measurement strategy is to correctly identify the state as often as possible. For minimum error and unambiguous discrimination, optimization can be treated as a semi-definite program and particular instances can be solved efficiently numerically .
Helstrom provided an analytic closed-form solution for two states with the minimum probability of error and arbitrary prior probabilities. The square-root measurement, also known as Pretty Good measurement, defined by: where = ∑ i p i i , is the optimal minimum-error when states satisfy certain symmetry properties 10 . Clearly to distinguish between n centroids we need a measurement with at most n outcomes. It is sometimes optimal to avoid measurement and simply guess that the state is the a priori most likely state.
The optimal POVM {E i } i for minimum-error state discrimination over R = {( 1 , p 1 ), … , ( N , p N )} satisfies the following necessary and sufficient Helstrom conditions 11 : where the Hermitian operator, also known as Lagrange operator, is defined by Γ ∶= ∑ i p i i E i . It is also useful to consider the following properties which can be obtained from the above conditions: www.nature.com/scientificreports/ For each i the operator Γ − p i i can have two, one, or no zero eigenvalues, corresponding to the zero operator, a rank-one operator, and a positive-definite operator, respectively. In the first case, we use the measurement {E i = , E i≠j = 0} for some i where p i ≥ p j ∀j , i.e. the state belongs to the a priori most likely class. In the second case, if E i ≠ 0 , it is a weighted projector onto the corresponding eigenstate. In the latter case, it follows that E i = 0 for every optimal measurement. Given the following Bloch representations: in order to determine the Lagrange operator in ℂ d we need d 2 independent linear constraints: A measurement with more than d 2 outcomes can always be decomposed as a probabilistic mixture of measurements with at most d 2 outcomes. Therefore, if the number of classes is greater than or equal to d 2 and we get d 2 linearly independent equations, we construct the Lagrange operator and derive the optimal measurements. From the geometric point of view, we obtain the unit vectors corresponding to the rank-1 projectors It is also possible to further partition the classes in order to increase the number of centroids and of the corresponding equations. An unlabelled point ̂ is associated with the first label y such that (̂ ) . Such a geometric construction of the minimum-error state discrimination will be tested over a case-study of medical relevance as reported in "Method and experimental results" section.
The quantum-inspired nearest mean classifiers that we consider in this paper are essentially based on the following general observation: once encoded data into density matrices one can use an operator distance, suitable for quantum state distinguishability, to perform nearest mean classification. In 1 , the authors consider the trace distance that can be computed in terms of Euclidean distance among Bloch vectors. Here we focus on the Bures distance, the Hellinger distance and the Jensen-Shannon distance respectively defined as: In the next section we explicitly define the nearest mean classifiers, based on the distances (15), (16), (17), within the data encoding into Bloch vectors of density operators in order to take advantage of the geometric approach.

Geometric approach to quantum-inspired classifications
In this section we discuss the encoding of real feature vectors into Bloch vectors of density operators in order to perform quantum-inspired classification. In particular we observe how the Bloch representation turns out to be a useful tool to reduce memory consumption in defining feature maps into higher dimensional spaces.
Within the quantum encoding (3), a real vector ∈ ℝ d−1 is encoded in a projector operator = | | ⟩⟨ | | , on a d-dimensional Hilbert space where d ≥ 2 . For simplicity, we consider an input vector [x 1 , x 2 ] ∈ ℝ 2 and the corresponding projector operator [x 1 ,x 2 ] on ℂ 3 . By easy computations, one can see that the Bloch vector of [x 1 ,x 2 ] has null components: Instead of using a matrix with nine real elements to represent [x 1 ,x 2 ] , memory occupation can be improved by considering only the non-zero components of the Bloch vector. In general, the technique of removing the components that are zero or repeated several times allows reducing the space and the calculation time considering only the significant values that allow to carry out the classification.
Generally speaking, defining a quantum encoding is equivalent to select a feature map to represent feature vectors into a space of higher dimension. In this sense data representation into quantum states can be considered a way to perform kernel tricks. In the case of the considered quantum encoding www.nature.com/scientificreports/ in view of (18) the nonlinear explicit injective function ∶ ℝ 2 → ℝ 5 to encode data into Bloch vectors can be defined as follows: From a geometric point of view, the mapped feature vectors are indeed points on the surface of a hyper-hemisphere. Within this representation, the centroids for classification can be calculated as: In general, such centroids are points inside the hypersphere that do not have an inverse image in terms of density operators, however they can be rescaled to a Bloch vector as discussed below. Data points can also be encoded in a smaller space using the following encoding from ℝ 2 to density operators of ℂ 2 : In this case, if the quantum centroids are calculated as in (20), they are points inside the Bloch sphere of a qubit then correspond to density operators. As shown below, considering Helstrom classifier, within this quantum encoding it is less accurate than the encoding into ℂ 3 as expected by any representation of data in a space of lower dimension. In order to improve the accuracy of the classification, one can increase the dimension of the representation space providing k copies of the quantum states, in terms of a tensor product, encoding data instances and centroids. According to the quantum formalism, multiple copies of the states are described in a tensor product Hilbert space with a strong impact in terms of computational space (from dimension d − 1 to d 2k ) and time. Following the geometric approach, considering the significant values that allow to carry out the classification, the explicit function ∶ ℝ 2 → ℝ 20 for two copies of the density operators on ℂ 3 can be defined as follows: In particular, removing null and multiple entries, we consider only 20 values instead of 81 for two copies, 51 values instead of 729 for three copies and so on. However, one must also take into account high-precision numbers and track the propagation of the numerical error.
Consider the quantum amplitude encoding of d-dimensional real feature vectors into pure states as introduced in "Quantum encoding" section: The quantum centroids of the classes C 1 , … , C M of training points are defined by the mixed states: Since any density operator can be represented in terms of its Bloch vector ( ) , we can adopt the Bloch representation of data ↦ ( ) so the centroids can be calculated in terms of Bloch vectors: noting that (i) does not correspond to the Bloch vector of the quantum centroid i calculated in (23). In fact, (i) lies inside the hypersphere in ℝ d 2 +2d then it is not necessarily the Bloch vector of a density operator for d > 1 . However it can be contracted into the hypersphere of radius 2 d+1 to individuate a Bloch vector of a density operator, thus we define the contracted centroid www.nature.com/scientificreports/ the quantum centroid i however it represents a valid density operator, say ̂ i , on ℂ d+1 that can be adopted as an alternative definition of centroid.
Given the class C i of data points, let us list different notions of centroid of C i that we can define within a fixed quantum encoding ↦ : In general, we have that i ≠ i and ̂ (i) is not the Bloch vector of i or i . In the construction of the nearest mean classifiers with operator distances we choose ̂ (i) as definition of centroid in order to select the encoding that is less memory consuming and to represent centroids by quantum states so that the calculation of the considered operator distances is meaningful in terms of distinguishability of quantum states.
Let us consider a binary classification problem (the multi-class generalization is straightforward). As suggested in 7 , we can define a classification algorithm that evaluates the Bures distance between the pure state encoding a test point and the centroids that correspond to mixed states. The fidelity between density operators, Therefore the Bures distance between the pure state 1 and the generic state 2 can be expressed in term of the Bloch representation as follows: where (1) and (2) are the Bloch vectors of 1 and 2 respectively and n is the dimension of the Hilbert space of the quantum encoding. The formula (25) can be directly derived from that is an immediate consequence of the fact that the generalized Pauli matrices are traceless and satisfy tr( i j ) = 2 ij . Thus a quantum-inspired nearest mean classifier based on Bures distance for binary classification can be defined by Algorithm 1.
Algorithm 1: Quantum-inspired nearest mean classifier based on Bures distance. Now let us consider the Hellinger distance (16). Assuming that 1 is a pure state in a n-dimensional Hilbert space, so √ 1 = 1 , then the distance can be written as: where (1) is the Bloch vector of the state 1 and (2) is the Bloch vector of the operator √ 2 . Therefore a nearest mean classifier based on Hellinger distance, within the Bloch representation, can be defined by Algorithm 2 which provides the square roots of the density operators corresponding to the centroids. A standard calculation is done solving the corresponding eigenvalue problem. Given a density operator, let Diag be the function returning a unitary matrix U and a diagonal matrix Λ such that = UΛU −1 . Obviously Λ is the diagonal matrix given by the square roots of the eigenvalues of .
In Algorithm 2, the function BlochVector returns the Bloch vector of a given density operator and BlochVector −1 is its inverse. On the one hand, the centroids are computed in terms of Bloch vectors but they are translated into operators to compute the Hellinger distance. On the other hand the training points are processed directly in terms of their Bloch representation. www.nature.com/scientificreports/ In the case of feature vectors in ℝ 2 , quantum-inspired classification can also be applied in a smaller space than ℂ 3 using the encoding (21). In other words, data points are encoded into Bloch vectors of pure states of a single qubit, so a centroid calculated as in (24) is a vector inside the Bloch sphere then always represents a quantum state i . In this low-dimensional case, Hellinger distance and Jensen-Shannon distance between dataset elements and the centroids can be calculated with the following simplified formulas: where r = | (i) | and s = | ( ) + (i) | . Thus the corresponding near mean classifiers can be defined by Algorithm 1 with (28) and (29) in place of the Bures distance.
Algorithm 2: Quantum-inspired nearest mean classifier based on Hellinger distance.

Method and experimental results
In this section, we present some numerical results obtained by the implementation of the Helstrom classifier and the considered quantum-inspired nearest mean classifiers compared to classical algorithms. We run the Helstrom classifier and the nearest mean classifiers with several distances (Euclidean, Bures, Hellinger, Jensen-Shannon) compared to the following well-known classifiers that we list with respective parameters, settings and main characteristics: • K-Nearest Neighbors: number of neighbors K = 3 , Euclidean distance as distance measure, uniform weights in each neighborhood; In order to compare the results with previous papers, we consider the following toy data and benchmark datasets from PMLB public repository 13 : moons, cicles, linearly separable, analcatdata aids, analcatdata asbestos, analcatdata boxing2, Hill Valley with noise, Hill Valley without noise, lupus, prnn synth. For each dataset we randomly select 80% of the data to create a training set and use the residual 20% for the evaluation. For simplicity, we only consider the first two features of the datasets, i.e., an input vector [x 1 , x 2 ] ∈ ℝ 2 and quantum-inspired classifiers in ℂ 2 within the encoding (21). We repeated the same procedure 100 times and  Table 2. Since the Jensen and Hellinger distances generally do not provide better results than the Euclidean and Bures distances, even in the presence of more preparations of the same state, we will consider only the latter (Tables 3, 4, 5, 6, 7). To correctly compare quantum-inspired classifiers in ℂ 3 with the well-known classifiers it is useful to map two features into a higher dimensional feature space ℝ 5 with the following explicit function ∶ ℝ 2 → ℝ 5 :   www.nature.com/scientificreports/ For quantum-inspired classifiers in ℂ 3 ⊗ ℂ 3 with two preparations of the same quantum state it is useful the following explicit function 2 ∶ ℝ 2 → ℝ 20 :  www.nature.com/scientificreports/ The dimension of the feature space can be further increased considering multiple copies of the encoding quantum states as density operators in (ℂ 3 ) ⊗3 and (ℂ 3 ) ⊗4 implementing corresponding feature maps that are respectively given by explicit functions 3 ∶ ℝ 2 → ℝ 81 and 4 ∶ ℝ 2 → ℝ 122 .
In the presented experiments we consider the average accuracy and the F1-score (Tables 2 and 7) as figures of merit to test and compare the performances of the quantum-inspired classifiers. However F-measures do not take true negative into account then average accuracy is considered better for the performance comparison of the classifier. Certainly, it is possible to compare the performances based on different statistic indices including balanced accuracy, sensitivity, specificity, precision, F-measure, Cohen's k parameter 3 .
Helstrom classifier has been applied and compared with classical algorithms over the following datasets provided by the Wolfram data repository: (1) Death times of male laryngeal cancer patients: https:// doi. org/ 10. 24097/ wolfr am. 61527. data.
(2) Locations of cancer cases in North Liverpool, UK, annotated with subject type (case or control) marks: https:// datar eposi tory. wolfr amclo ud. com/ resou rces/ Sample-Data-Liver pool-Cancer. State discrimination using the Pretty Good measurement and the geometric Helstrom state discrimination introduced in "Quantum-inspired classifiers" section have been tested over the dataset:  The obtained results are reported in Tables 8 and 9 and discussed in the next section.

Discussion
The low-dimensional experiments, whose results are reported in Table 1, are performed encoding feature vectors of ℝ 2 into quantum states on ℂ 2 by means of (21). In this case, we observe that the performances of the Helstrom classifier are comparable to those of the linear SVM as expected 7 , except for the datasets moons and prnn_synth where the SVM turns out to be definitely more accuarate. However, for the linearly_separable dataset, Helstrom reaches a high average accuracy and for the datasets analcatdata_boxing2 and lupus it is the most accurate classifier, with a tiny margin, over the classical and the quantum-inspired ones. In particular, for analcatdata_boxing2, Helstrom presents an average accuracy that is only 0.1% higher than the Bures' . The considered quantum-inspired nearest mean classifiers present comparable accuracies between them and w.r.t. Helstrom, except for moons and prnn_synth datasets where they definitely outperform Helstrom and for circles and analcatdata_asbestos datasets where the nearest mean classifiers present an average accuracy that is over 10% higher than Helstrom's. Over the considered datasets, the nearest mean classifier based on the Bures distance turns out to be the quantum-inspired algorithm with the highest average accuracy for five datasets: moons, linearly_separable, analcatdata_asbestos, Hill_Valley_with_noise, Hill_Valley_without_noise.
Within the encoding of real data points into density matrices on ℂ 3 , the performance of the Helstrom classifier gets better and approaches the average accuracy of the linear SVM over the moons and prnn_synth datasets (Table 3) and outperforms the linear SVM over the cicles dataset. Thus, within this encoding, the performance of Helstrom classifier over the considered datasets is comparable to that of the quantum-inspired nearest mean classifiers. The Euclidean and the Bures classifiers improve their accuracy for the cicles dataset. The considered Table 7. F1-score with 2 features mapped into high-dimensional feature space ℝ 122 .   Table 9. Case-control study of esophageal cancer. www.nature.com/scientificreports/ three quantum-inspired classifiers worsen the already poor performance over the analcatdata_aids w.r.t. the lower-dimensional encoding. As shown in Table 4, increasing the dimension of the feature space, from 5 to 20, by the preparation of two copies of the quantum states in ℂ 3 ⊗ ℂ 3 , the Helstrom classifier outperforms the linear SVM over moons, cicles, linearly separable, lupus, prnn_synth datasets presenting a comparable average accuracy to the SVM's over the other datasets except for analcatdata_aids where the performances of the quantum-inspired classifiers remain poor. Considering higher dimensional feature spaces (Tables 5 and 6) the performances of the quantum-inspired classifiers improve except for the analcatdata_aids dataset where there is a worsening of average accuracy increasing the dimension. In particular, the Helstrom classifier improves its performance w.r.t. the linear SVM becoming a definitely more accurate classifier.

PrettyGood GeometricHelstrom Linear RadialBasisFunction Polynomial Sigmoid RandomForest NaiveBayes NearestNeighbors LogisticRegression
In Table 9, we observe that all the classifiers presents low values of average accuracy over the data set iii). However the geometric Helstrom, that is the classifier based on the minimum-error measurement determined by (13), performs better than the classical competitors, except Random Forest and Naive Bayes, and the classifier based on state discrimination by means of the Pretty Good measurement defined in (9). In particular, geometric Helstrom outperforms the Nearest neighbor classifier.

Conclusions
The present paper is focused on some methods of quantum-inspired machine learning, in particular classification algorithms based on quantum state discrimination. We adopted a geometric approach in defining quantum encodings of classical data in terms of Bloch vectors of density operators. The geometry of quantum encoding has been analyzed in relation to the construction of feature maps and to the execution of the quantum-inspired classifiers. We considered algorithms based on the construction of an optimal measurement for state discrimination: the Helstrom classifier based on the well-known Helstrom's theory of quantum discrimination 2 , a classifier based on the so-called Pretty Good measurement 10 and a classifier based on the geometric construction of the minimum-error measurement 11 . Moreover we considered quantum-inspired nearest mean classifiers based on the encoding of data into density operators and the calculation of distances which quantify the distinguishability of quantum states in the spirit of other works on this subject 1,7 . The considered operator distances were: trace distance, Bures distance, Hellinger distance, Jensen-Shannon distance. The first two are particularly convenient in terms of the execution of a classifier within the Bloch encoding because the trace distance can be computed as the Euclidean distance among the Bloch vectors and the Bures distance allows the definition of a simple algorithm, reported in Algorithm 1, that perform the classification task entirely within the Bloch representation of the quantum states taking a full advantage by the geometric description. On the other hand, we do not find a satisfactory formulations of classification algorithms based on Hellinger and Jensen-Shannon distances that can executed entirely within the geometric description of the quantum states. Nevertheless, the experiments performed in the low-dimensional case (data encoding into qubit states) show that the classification done with the Hellinger and the Jensen-Shannon distances do not provide an average accuracy that is significantly different from that of the classifiers with trace and Bures distances, so we focused only on the latter for the experiments in higher dimension.
In "Geometric approach to quantum-inspired classifications" section, we clarified the adopted geometric approach. Within the encoding of real feature vectors into the amplitudes of pure quantum states w.r.t. a computational basis, the density operators are expressed as Bloch vectors and the centroids of data classes are directly calculated in terms of Bloch vectors. However, the mean of a set of Bloch vectors is not a Bloch vector in general (except in the case of qubit states). In order to identify the centroid as a proper density operator on ℂ d the obtained Bloch vector is re-scaled into the real sphere with radius 2 d+1 . The advantage in considering such a Bloch representation is given by data compression allowed suppressing null and repeated components in Bloch vectors removing redundancy in the representation. This simple property is useful when many copies of the considered quantum state are processed in order to increase the dimension of the feature space (kernel trick). In fact, the saving of spatial resources in representing ⊗ ⋯ ⊗ by means of the Bloch vectors balances the exponential cost due to processing the tensor product. Thus the Bloch representation turns out to be a useful tool to efficiently increase the dimension of the feature space in quantum-inspired machine learning.
In the experiments over different datasets, described in "Method and experimental results" section, the effects of the kernel tricks on the accuracy of the Helstrom classifier are evident. Moreover, the obtained results show that the performances of the quantum-inspired classifiers are comparable, and sometimes better, to those of well-known classical algorithms. We observed that the classification based on the minimum-error measurement for state discrimination can be carried on by the Pretty Good measurement or by the so-called geometric Helstrom. A comparison over the dataset case-control study of esophageal cancer show that the geometric Helstrom is definitely more accurate w.r.t. the classifier based on Pretty Good measurement. Moreover, in Table 9 the results show that geometric Helstrom outperforms also the classical support vectors machines, the KNN, and the logistic regression.
Description and characterization of the quantum-inspired classifiers considered in the present work suggest that quantum structures can be a valuable resource in classical machine learning, in particular the geometric approach considering the Bloch representation of density matrices is suitable to efficiently implement feature maps in quantum-inspired classification. The adopted geometric approach and the obtained experimental results reveal that quantum encoding of data into density operators and quantum state discrimination allow the definition of new efficient classification algorithms that can be run on classical computers.